<!DOCTYPE html>
<html>
<head>
<?php include_once VIEWS.'inc/head.php'; ?>
</head>
<body>
	<?php include_once VIEWS.'inc/header.php'; ?>
	<div class="main search">
		<div class="box">
			<div class="w1040">
				<div class="title">
					<h4>“<?php echo $schVal;?>”搜索结果：</h4>
				</div>
				<div class="wrap">
				<?php if(!empty($fenye['new_con'])):?>
				<?php foreach($fenye['new_con'] as $k=>$v):?>
					<?php if($v['cid']==2):?>
					<a class="list" href="<?php echo site_url('product/index'); ?>">
					<?php elseif($v['cid']==3):?>
					<a class="list" href="<?php echo site_url('product/index1'); ?>">
					<?php elseif($v['cid']==4):?>
					<a class="list" href="<?php echo site_url('product/index2'); ?>">
					<?php elseif($v['cid']==5):?>
					<a class="list" href="<?php echo site_url('read/info/'.$v['id']); ?>">
					<?php elseif($v['cid']==6):?>
					<a class="list" href="<?php echo site_url('news/info/'.$v['id']); ?>">
					<?php endif;?>
						<h4><?php echo $v['title'];?></h4>
						<?php if(!empty($v['content'])):?>
						<div class="text"><?php echo msubstr(str_replace('&nbsp;','',trim(strip_tags($v['content']))),0,120);?></div>
						<?php endif;?>
					</a>
				<?php endforeach;?>
				<?php else:?>
				<h2>暂无搜索结果...</h2>
				<?php endif;?>
				</div>
				<div class="page-btm-box">
					<div class="page pull-left">
					<?php if(!empty($fenye['new_con'])):?>
					<?php echo $fenye['pagelink']?>
					<?php endif;?>
						<!-- <img src="<?php //echo static_file('web/img/page.png'); ?>"> -->
					</div>
					<div class="pro-footer pull-right">
						<?php include_once VIEWS.'inc/footer.php'; ?>
					</div>
				</div>
			</div>
		</div>
		
	</div>
</body>
</html>